package com.jhgk.jhcee.auth.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ActivityRecord implements Serializable {
    @ApiModelProperty(value = "主键 id")
    private Integer activityRecordId;

    @ApiModelProperty(value = "外键 activity的uuid")
    private String activityUuid;

    @ApiModelProperty(value = "参与时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间，即优惠使用时间")
    private Date updateTime;

    @ApiModelProperty(value = "外键 m_user 的uuid")
    private String userUuid;

    @ApiModelProperty(value = "邀请人邀请新用户下载APP，完善信息成功的现金奖励")
    private BigDecimal shareRewardMoney;

    @ApiModelProperty(value = "邀请人的奖励金额（被邀请人成功购买VIP）")
    private BigDecimal buyRewardMoney;

    @ApiModelProperty(value = "被邀请人手机号")
    private String invitedUserPhone;

    @ApiModelProperty(value = "被邀请人uuid")
    private String invitedUserUuid;

    @ApiModelProperty(value = "记录是否付费推广")
    private Integer isPaidshare;

    @ApiModelProperty(value = "新用户领取金额奖励")
    private BigDecimal newRewardMoney;

    @ApiModelProperty(value = "新用户领取积分奖励")
    private Integer newRewardPoint;

    @ApiModelProperty(value = "是否获得新用户下载APP奖励：0-无效 1-有效，有偿推广条件下，当新用户下载APP完善信息，邀请人获得现金奖励，置为1")
    private Integer isGetnewreward;

    @ApiModelProperty(value = "是否获得购买奖励：0-无效 1-有效，当被邀请人成功购买VIP，邀请人获得奖励后，置为1")
    private Integer isGetbuyreward;

    @ApiModelProperty(value = "活动记录备注")
    private String activityRecordMark;

    @ApiModelProperty(value = "是否是分销系统二维码分销的记录。0-不是，1-是")
    private Short isQr;

    private static final long serialVersionUID = 1L;

    public Integer getActivityRecordId() {
        return activityRecordId;
    }

    public void setActivityRecordId(Integer activityRecordId) {
        this.activityRecordId = activityRecordId;
    }

    public String getActivityUuid() {
        return activityUuid;
    }

    public void setActivityUuid(String activityUuid) {
        this.activityUuid = activityUuid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public BigDecimal getShareRewardMoney() {
        return shareRewardMoney;
    }

    public void setShareRewardMoney(BigDecimal shareRewardMoney) {
        this.shareRewardMoney = shareRewardMoney;
    }

    public BigDecimal getBuyRewardMoney() {
        return buyRewardMoney;
    }

    public void setBuyRewardMoney(BigDecimal buyRewardMoney) {
        this.buyRewardMoney = buyRewardMoney;
    }

    public String getInvitedUserPhone() {
        return invitedUserPhone;
    }

    public void setInvitedUserPhone(String invitedUserPhone) {
        this.invitedUserPhone = invitedUserPhone;
    }

    public String getInvitedUserUuid() {
        return invitedUserUuid;
    }

    public void setInvitedUserUuid(String invitedUserUuid) {
        this.invitedUserUuid = invitedUserUuid;
    }

    public Integer getIsPaidshare() {
        return isPaidshare;
    }

    public void setIsPaidshare(Integer isPaidshare) {
        this.isPaidshare = isPaidshare;
    }

    public BigDecimal getNewRewardMoney() {
        return newRewardMoney;
    }

    public void setNewRewardMoney(BigDecimal newRewardMoney) {
        this.newRewardMoney = newRewardMoney;
    }

    public Integer getNewRewardPoint() {
        return newRewardPoint;
    }

    public void setNewRewardPoint(Integer newRewardPoint) {
        this.newRewardPoint = newRewardPoint;
    }

    public Integer getIsGetnewreward() {
        return isGetnewreward;
    }

    public void setIsGetnewreward(Integer isGetnewreward) {
        this.isGetnewreward = isGetnewreward;
    }

    public Integer getIsGetbuyreward() {
        return isGetbuyreward;
    }

    public void setIsGetbuyreward(Integer isGetbuyreward) {
        this.isGetbuyreward = isGetbuyreward;
    }

    public String getActivityRecordMark() {
        return activityRecordMark;
    }

    public void setActivityRecordMark(String activityRecordMark) {
        this.activityRecordMark = activityRecordMark;
    }

    public Short getIsQr() {
        return isQr;
    }

    public void setIsQr(Short isQr) {
        this.isQr = isQr;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", activityRecordId=").append(activityRecordId);
        sb.append(", activityUuid=").append(activityUuid);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", userUuid=").append(userUuid);
        sb.append(", shareRewardMoney=").append(shareRewardMoney);
        sb.append(", buyRewardMoney=").append(buyRewardMoney);
        sb.append(", invitedUserPhone=").append(invitedUserPhone);
        sb.append(", invitedUserUuid=").append(invitedUserUuid);
        sb.append(", isPaidshare=").append(isPaidshare);
        sb.append(", newRewardMoney=").append(newRewardMoney);
        sb.append(", newRewardPoint=").append(newRewardPoint);
        sb.append(", isGetnewreward=").append(isGetnewreward);
        sb.append(", isGetbuyreward=").append(isGetbuyreward);
        sb.append(", activityRecordMark=").append(activityRecordMark);
        sb.append(", isQr=").append(isQr);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}